﻿using System;
using System.Net.Mail;

namespace Kaio.Net.Email
{

    public interface IEmail
    {
        /// <summary>
        /// Sends a message. 
        /// </summary>
        /// <param name="from">From field</param>
        /// <param name="to">To field</param>
        /// <param name="subject">e-mail's subject</param>
        /// <param name="messageText">message's body</param>
        void Send(String from, String to, String subject, String messageText);

        void Send(MailMessage message);

        /// <summary>
        /// Sends multiple messages. 
        /// </summary>
        /// <param name="messages">Array of messages</param>
        void Send(MailMessage[] messages);
    }

}
